<template>
  <div class="info">
    <p class="title-text">{{ title }}</p>
    <el-form ref="form" :model="form" :rules="rules" label-width="100px" style="width: 600px;" label-position="left" >
      <el-form-item label="套餐名称" prop="name">
        <el-input v-model="form.name" placeholder="请输入套餐名称名称" />
      </el-form-item>

      <el-form-item label="套餐价格" prop="price">
        <el-input v-model="form.price" placeholder="请输入价格" />
      </el-form-item>
<!--        <el-form-item label="套餐状态" prop="status">-->
<!--          <el-select v-model="form.status" placeholder="请选择套餐状态">-->
<!--            <el-option-->
<!--              v-for="dict in dict.type.sys_agent"-->
<!--              :key="dict.value"-->
<!--              :label="dict.label"-->
<!--              :value="dict.value"-->
<!--            ></el-option>-->
<!--          </el-select>-->
<!--        </el-form-item>-->
<!--        <el-form-item label="线上0/线下1" prop="lineStatus">-->
<!--          <el-select v-model="form.lineStatus" placeholder="请选择线上0/线下1">-->
<!--            <el-option-->
<!--              v-for="dict in dict.type.sys_package"-->
<!--              :key="dict.value"-->
<!--              :label="dict.label"-->
<!--              :value="dict.value"-->
<!--            ></el-option>-->
<!--          </el-select>-->
      </el-form-item>
      <!-- <el-form-item label="调查接口的ids" prop="surveyIds">
        <el-input v-model="form.surveyIds" placeholder="请输入调查接口的ids" />
      </el-form-item> -->
<!--        <el-form-item label="用户id" prop="userId">-->
<!--          <el-input v-model="form.userId" placeholder="请输入用户id" />-->
<!--        </el-form-item>-->
<!--        <el-form-item label="部门id" prop="deptId">-->
<!--          <el-input v-model="form.deptId" placeholder="请输入部门id" />-->
<!--        </el-form-item>-->
    </el-form>
  </div>
</template>

<script>
  export default {
    data() {
      return {
        title: '',
        // 表单参数
        form: {},
        // 表单校验
        rules: {
          name: [
            { required: true, message: "套餐名称不能为空", trigger: "blur" }
          ],
          surveyIds: [
            { required: true, message: "调查接口的ids不能为空", trigger: "blur" }
          ],
        },
        cardList: [
          {
            name: '身份验证',
            number: '1',
            checked: false,
          },
          {
            name: '学籍验证',
            number: '1',
            checked: false,
          },
          {
            name: '学历验证',
            number: '1',
            checked: false,
          },
        ],
        selectIndex: null,
        cardList2: [
          {
            name: '履历核实',
            number: '1',
            checked: false,
          },
          {
            name: '工作评价',
            number: '1',
            checked: false,
          },
        ],
        selectIndex2: null,
      }
    },
    created() {},
  }
</script>

<style>
</style>
